package com.gome.gop.service;

import com.gome.gop.common.Page;
import com.gome.gop.data.entity.source.AddSourceParam;
import com.gome.gop.data.entity.source.AnalyseDo;
import com.gome.gop.data.entity.source.AnalyseLineDo;
import com.gome.gop.data.entity.source.PageAnalyseLineRet;
import com.gome.gop.data.entity.source.PageAnalyseParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Title:
 * @Description:
 * @Author:chengcheng7
 * @Since: 2022/10/1 15:28
 * @Copyright:Copyright (c) 2018 - 2100
 * @Company:gome
 * @Version:1.1.0
 */
public interface SourceService {
    
    PageAnalyseLineRet addAnalyse(AddSourceParam addSourceParam);
    
    PageAnalyseLineRet saveAnalyse(AddSourceParam addSourceParam);
    
    Page pageAnalyse(PageAnalyseParam pageAnalyseParam);
    
    AnalyseDo findAnalyse(AnalyseDo analyseDo);
    
    PageAnalyseLineRet pageAnalyseLine(AddSourceParam addSourceParam);
    
    void exportAnalyse(PageAnalyseParam param, HttpServletRequest request, HttpServletResponse response);

    void deleteAnalyse(AnalyseDo analyseDo);

    void deleteAnalyseLineDoList(List<AnalyseLineDo> analyseLineDoList);

    void exportAnalyseOne(AddSourceParam addSourceParam, HttpServletRequest request, HttpServletResponse response);
}
